<template>
  <div class="box">
    <!-- 头部 -->
    <div class="header">
      <van-icon name="arrow-left" @click="goBack" />
      <span>注册</span>
    </div>

    <div class="content">
      <van-cell-group :border="false">
        <van-field class="phone" v-model="value" placeholder="请输入手机号" />
      </van-cell-group>
      <van-button round type="info" color="linear-gradient(to right, #ff60349d, #ee0a2596)">下一步</van-button>
    </div>
    <van-popup v-model="show" class="tanchu">
      <div class="up">{{msg}}</div>
      <ul>
        <li @click="show=false">取消</li>
        <li style="color:red;" @click="leap">立即登录</li>
      </ul>
    </van-popup>
  </div>
</template>

<script>
import axios from "axios";

export default {
  name: "Reg",
  data() {
    return {
        value:''
    };
  },
  created(){},
  methods: {
    goBack() {
      this.$router.back();
    },
  },
};
</script>

<style scoped>
.header {
  height: 3.5rem;
  text-align: center;
  font-size: 1.3rem;
  line-height: 3.5rem;
  border-bottom: 2px solid gray;
}
.van-icon {
  float: left;
  padding-left: 10px;
  line-height: 3.5rem;
  color: rgb(24, 24, 64);
}
.content{
    margin: 3rem 1.5rem;
  }
  .van-button{
    margin: 1rem;
    width: 90%;
   
  }
</style>